<%@ page session="true" %>
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>eBusiness Framework Demo - Login</title>
<link rel="stylesheet" type="text/css" href="style.css" />
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="pragma" content="no-cache">
</head>
<body>
<h1>Login</h1>
<hr>
<%@ include file="error.jsp" %>

<form name="loginForm" method="post" action="<%= response.encodeURL("controllerservlet") %>" >
<input type="hidden" name="action" value="login">
<table>
<tr><td>Benutzername:</td><td><input name="username" value="" /></td></tr>
<tr><td>Passwort:</td><td><input name="password" type="password" value=""></td></tr>
<tr><td>Rolle:</td><td>
<select name="role" size="1">
	<option value="1" selected>Intern</option>
	<option value="2">Kunde</option>
	<option value="3">Lieferant</option>
</select></td></tr>
</table>
<p>
<input type="submit" name="Submit" value="Anmelden">
<input type="reset" value="Reset">
<hr><br>

<b>Interne Benutzer:</b><br>
Benutzername: <i>internal1</i> und Passwort: <i>internal1</i><br>
Benutzername: <i>internal2</i> und Passwort: <i>internal2</i><br>
<br>
<b>Kunden:</b><br>
Benutzername: <i>customer1</i> und Passwort: <i>customer1</i><br>
Benutzername: <i>customer2</i> und Passwort: <i>customer2</i><br>
<br>
<b>Lieferant:</b><br>
Benutzername: <i>supplier1</i> und Passwort: <i>supplier1</i><br>
Benutzername: <i>supplier2</i> und Passwort: <i>supplier2</i><br>
<br>
</form>
</body>
</html>
